/**
 * @file ModelDefine.c
 * @author SoBigDog (623644973lubin@163.com)
 * @brief 
 * @version 0.1
 * @date 2020-11-12
 * 
 * @copyright Copyright (c) 2020
 * 
 */
#include "ModelDefine.h"

/**
 * @brief 定义各家厂商的协议
 * 
 */
const struct ModelDefine protocol_brank[] = {
	{1, "Seer 1298 protocol"},
	{2, "DHL protocol"},
	{3, "Nuoli Protocol"},
	{4, "RuiBoTe Protocol"},
	{0, ""} 					/* 空字符串，表示后面没有协议了 */
};

/**
 * @brief CAN baudrate
 * 
 */
const struct ModelDefine can_baudrate[] = {
	{50000,		"50K"},
	{100000,	"100K"},
	{125000,	"125K"},
	{250000,	"250K"},
	{500000,	"500K"},
	{1000000,	"1000K"},
	{0,			""}
};

/**
 * @brief CAN register
 * 
 */
const struct ModelDefine can_res[] = {
	{1, "yes"},
	{2, "no"},
	{0, ""}	
};

/**
 * @brief uart baudrate
 * 
 */
const struct ModelDefine uart_baudrate[] = {
	{1200,		"1200"},
	{2400,		"2400"},
	{4800,		"4800"},
	{9600,		"9600"},
	{19200, 	"19200"},
	{38400, 	"38400"},
	{57600, 	"57600"},
	{115200,	"115200"},
	{230400,	"230400"},
	{0, 		""}
};

/* 最大转速、 ADC中间值，  */

